package com.logic.modular.gameCore.match.core.controller;

import com.logic.modular.gameCore.match.core.service.impl.CoreMatchEndExpServiceImpl;
import com.logic.modular.gameCore.match.core.domain.CoreMatchEndExp;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import com.comment.util.message.ResponseResult;

import java.util.List;


/**
 * (CoreMatchEndExp)表服务控制层
 *
 * @author cxy
 * @since 2024-09-10 11:26:01
 */
@Api(tags = "(CoreMatchEndExp)") 
@Validated
@RestController
@AllArgsConstructor
@RequestMapping("/coreMatchEndExp")
public class CoreMatchEndExpController {
    @Resource
    private CoreMatchEndExpServiceImpl coreMatchEndExpService;
    
    @ApiOperation("获取列表")
    @PostMapping("/list")
    public ResponseResult<List<CoreMatchEndExp>> list() {
        return ResponseResult.success(coreMatchEndExpService.listCache());
    }
}
